/**
 *  柱形图组件默认配置
 * @type {{width: number, height: number}}
 */
const barDefault = {
  chartType: 'bar',
  layout: {
    width: 400,
    height: 300,
    offsetLeft: 100,
    offsetTop: 100
  },
  css: {
    strokeVisiable: false, // 描边
    shadowVisiable: false, // 阴影
    background: 'transparent',
    'border-width': '1px',
    'border-color': '#000',
    'border-style': 'solid',
    'border-top-left-radius': '0px', // 左上
    'border-top-right-radius': '0px', // 右上
    'border-bottom-left-radius': '0px', // 左下
    'border-bottom-right-radius': '0px', // 右下
    'box-shadow': '0px 0px 0px 0px transparent' // 阴影
  },
  echarts: {
    title: {
      show: true,
      text: '',
      link: '',
      target: 'blank',
      subText: '',
      sublink: '',
      subTarget: 'blank',
      textAlign: 'auto'
    },
    legend: {
      show: true,
      orient: 'horizontal'
    }

  }
}

export default barDefault
